$OpenBSD: patch-ext_gsl_vector_complex_c,v 1.2 2015/07/26 03:50:04 jeremy Exp $

Fix conflicting types.

--- ext/gsl_native/vector_complex.c.orig	Fri Jul  3 11:19:42 2015
+++ ext/gsl_native/vector_complex.c	Sun Jul 19 19:03:38 2015
@@ -1984,7 +1984,7 @@ static VALUE rb_gsl_vector_complex_zip(int argc, VALUE
 // Starting with version 1.15, GSL provides a gsl_vector_complex_equal
 // function, but it only determines absolute equality (i.e. is has no epsilon
 // argument).
-static int gsl_vector_complex_equal_eps(const gsl_vector_complex *v1,
+static int gsl_vector_complex_equal_with_eps(const gsl_vector_complex *v1,
                                         const gsl_vector_complex *v2, double eps)
 {
   gsl_complex z1, z2;
@@ -2017,7 +2017,7 @@ static VALUE rb_gsl_vector_complex_equal(int argc, VAL
   Data_Get_Struct(obj, gsl_vector_complex, v1);
   CHECK_VECTOR_COMPLEX(argv[0]);
   Data_Get_Struct(argv[0], gsl_vector_complex, v2);
-  ret = gsl_vector_complex_equal_eps(v1, v2, eps);
+  ret = gsl_vector_complex_equal_with_eps(v1, v2, eps);
   if (ret == 1) return Qtrue;
   else return Qfalse;
 }
